 <form class="form-search" action="" method="post" onsubmit="reload();return false;">
		<div class="input-prepend"><span class="add-on">通话时间</span><input type="text" name="startdate" id="start"/></div>&nbsp;&nbsp;至&nbsp;&nbsp;<input type="text" name="enddate" id="end"/>
		<div class="input-prepend"><span class="add-on">账号</span><input type="text" class="input-medium" name="account"></div>
		<button type="submit" class="btn btn-primary" onclick="">搜&nbsp&nbsp&nbsp索</button>
    </form>
<table class="table table-bordered table-hover">
    <thead>
        <tr 
        style="background:#CCCCCC"><td>账号ID</td><td>账号</td><td>主叫电话</td><td>被叫电话</td><td>通话开始时间</td><td>通话结束时间</td><td>通话时长</td><td>通话费用</td></tr>
    </thead>
    <tbody>
		<volist name="list" id="vo">
        <tr>
            <td>{$vo.owner_uid}</td><td>{$vo.account}</td><td>{$vo.call_from}</td><td>{$vo.call_to}</td><td>{$vo.conversation_starttime}</td><td>{$vo.conversation_endtime}</td><td>{$vo.conversation_time}</td><td>{$vo.total_fee}</td>     
        </tr>
		</volist>

    </tbody>
</table>

<div class="pagination" style="float:right">
	<select name="pageNum" style="margin-top:-20px;width:60px">
		<option>10</option>
		<option>20</option>
		<option>30</option>
	</select>
	{$page}
</div>
<script>
    //日期选择框
	datepickerRange('start','end');
	//搜索
	function loginLogSearch(url){
//		alert(getInputValueByName('startdate')+"-"+getInputValueByName('enddate')+"-"+getInputValueByName('company_name'));
	//	$.getJSON(url,{startdate:getInputValueByName('startdate'),enddate:getInputValueByName('enddate'),company_name:getInputValueByName('company_name')},function(json){
			$("#maincontent").load('__APP__/Voice/callRecords',{startdate:getInputValueByName('startdate'),enddate:getInputValueByName('enddate'),account:getInputValueByName('account')});
		//	if(json.status == 1){
		//		$.remind('提示',json.info);
		//	}else{
		//		$.warn("错误提示",json.info);
		//	}
	//	});
	}
	function reload(){
		$("#maincontent").load('__APP__/Voice/callRecords',{startdate:getInputValueByName('startdate'),enddate:getInputValueByName('enddate'),account:getInputValueByName('account')});
	}
</script>